﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using System.Diagnostics;

namespace XNADota.Terrain
{
    public class Tree
    {
        public string TreeType;
        public int Variation;
        public Vector3 Position;
        public float RotationAngle;
        public Vector3 Scale;
        public byte Flag;
        public byte TreeLife;
        public int ItemTable;
        public int ItemCount;
        public int TreeId;

        public void PrintDebugInfo()
        {
            Debug.Write(TreeId + " V " + Variation + " F " + Flag + " L " + TreeLife);
            Debug.WriteLine("");
        }
    }

    public class WarCraftMapDoo
    {
        public int Version;
        public int SubVersion;
        public int TreeCount;
        public Tree[] Trees;
    }
}
